package com.msb.mall.product.fegin;

import com.msb.common.dao.SkuHasStockDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Auther: xixifeng
 * @Date: 2022/10/18 - 10 - 18 - 18:31
 * @Description: com.msb.mall.product.fegin
 * @version: 1.0
 */

@FeignClient("mall-ware")
public interface wareFeginService {

    @PostMapping("/ware/waresku/hasStock")
     List<SkuHasStockDto> getSkusHasStock(@RequestBody List<Long> skuIds);
}




